DIFF ?= diff --strip-trailing-cr -u

test: sample.md file-a.md file-b.md file-c.md include-files.lua
	@pandoc --lua-filter=include-files.lua --to=native $< \
	    | $(DIFF) expected.native -

expected.native: sample.md file-a.md file-b.md file-c.md include-files.lua
	pandoc --lua-filter=include-files.lua --output $@ $<

.PHONY: test
